package practice1;

public class Doctor extends Person{
    String title;
    Doctor(String name ,int age ,char gender , String title){
        super(name ,age , gender );
        this.title = title;
    }

    void daZhen(){
        System.out.println(name+"正在给病人打针");
    }
    void show(){
        System.out.println("大家好,我叫"+name+",我今年"+age+"岁了,性别是:"+gender+"我家住在宝可梦医院中心");
    }



}
